International Math Olympiad 2021 - Problem 6: A Tricky Number Theory